package com.entity;

import java.sql.Date;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("dailydrugexpense")
public class DailyDrugExpense {
    private int expenseId;
    private int prescriptionDetailId;
    private int visitId;
    private Date aDate;
    private int dailyCost;

    // 构造方法
    public DailyDrugExpense(int prescriptionDetailId, int visitId, Date aDate, int dailyCost) {
        this.prescriptionDetailId = prescriptionDetailId;
        this.visitId = visitId;
        this.aDate = aDate;
        this.dailyCost = dailyCost;
    }

    // Getter和Setter方法
    public int getExpenseId() {
        return expenseId;
    }

    public void setExpenseId(int expenseId) {
        this.expenseId = expenseId;
    }

    public int getPrescriptionDetailId() {
        return prescriptionDetailId;
    }

    public void setPrescriptionDetailId(int prescriptionDetailId) {
        this.prescriptionDetailId = prescriptionDetailId;
    }

    public int getVisitId() {
        return visitId;
    }

    public void setVisitId(int visitId) {
        this.visitId = visitId;
    }

    public Date getaDate() {
        return aDate;
    }

    public void setaDate(Date aDate) {
        this.aDate = aDate;
    }

    public int getDailyCost() {
        return dailyCost;
    }

    public void setDailyCost(int dailyCost) {
        this.dailyCost = dailyCost;
    }

    // toString方法，可选，用于打印对象信息
    @Override
    public String toString() {
        return "DailyDrugExpense{" +
                "expenseId=" + expenseId +
                ", prescriptionDetailId=" + prescriptionDetailId +
                ", visitId=" + visitId +
                ", aDate=" + aDate +
                ", dailyCost=" + dailyCost +
                '}';
    }
}